package com.zker.missyou.sample;/*
 * ClassName: DatabaseConfiguration
 * Package : com.zker.missyou.sample
 * Description:
 * @Author zKer
 * @Create 2024/6/26 13:55
 */

import com.zker.missyou.sample.database.MySQL;

public class DatabaseConfiguration {
    //    @Value("${mysql.ip}")
    private String ip;

    //    @Value("${mysql.port}")
    private Integer port;

    //    @Bean
    public IConnect mysql() {
        return new MySQL(this.ip, this.port);
    }
}
